/**
 * @(#)IException.java 2011-9-1
 * 
 * Copyright 2000-2011 by ChinanetCenter Corporation.
 *
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * ChinanetCenter Corporation ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with ChinanetCenter.
 * 
 */

package com.szf.base.exception;

public interface IException {

	/**
	 * 取得错误信息
	 * @return 错误信息
	 */
	public String getErrorMessage();

	/**
	 * 取得错误信息参数，用于替换错误信息中的{}占位符
	 * @return 参数array
	 */
	public String[] getErrorMessageArgs();

	public Throwable getCause();
}
